home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr13 / aurora2c.zip / HELPLANG.AML < prev    next >
Text File  |  1995-04-07  |  3KB  |  115 lines

  1.  
  2. // ───────────────────────────────────────────────────────────────────
  3. // The Aurora Editor v2.0
  4. // Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
  5. //
  6. // Language Reference Help Topics Menu
  7. //
  8. // This macro displays a popup menu of Language Reference topics.
  9. // Selecting a topic will display the Language Reference and position
  10. // the cursor to the selected topic.
  11. // ───────────────────────────────────────────────────────────────────
  12.  
  13.   // compile time macros and function definitions
  14.   include bootpath "define.aml"
  15.  
  16.   // create an inline help topics buffer
  17.   databuf "helplang"
  18.     "Arithmetic Operators"
  19.     "Assignment Statement"
  20.     "Bitwise Operators"
  21.     "Bookmarks"
  22.     "Buffers"
  23.     "Case Statement"
  24.     "Command Line Macros"
  25.     "Comments"
  26.     "Compilation and Execution Functions"
  27.     "Control Statements"
  28.     "Conversions"
  29.     "Current Event Object"
  30.     "Cursors"
  31.     "Define Statement"
  32.     "Desktop"
  33.     "DOS Shell Functions"
  34.     "Events"
  35.     "Expressions"
  36.     "External Macros"
  37.     "File Handling Functions"
  38.     "File Manager Functions"
  39.     "Folds"
  40.     "Function Calls"
  41.     "Function Definitions"
  42.     "Function Return Values"
  43.     "Function Types"
  44.     "Identifiers"
  45.     "If and If? Statements"
  46.     "Include Statement"
  47.     "Internal Macros"
  48.     "Introduction"
  49.     "Iterative Statements"
  50.     "Key Event Names"
  51.     "Key Macro Functions"
  52.     "Keyboard"
  53.     "Library Object Hierarchies"
  54.     "Logical Operators"
  55.     "Macro Types"
  56.     "Marks"
  57.     "Menus"
  58.     "Miscellaneous Functions"
  59.     "Mouse Event Names"
  60.     "Mouse"
  61.     "Numbers"
  62.     "Object Definitions"
  63.     "Object Inheritance"
  64.     "Object Statements and Functions"
  65.     "Objects"
  66.     "On-Event Functions"
  67.     "Operator Precedence"
  68.     "Other Control Statements"
  69.     "Overview"
  70.     "Passing Arguments to Functions"
  71.     "Passing Variables by Reference"
  72.     "Primary Editing Functions"
  73.     "Prompt History"
  74.     "Prompts and Dialog Boxes"
  75.     "Regular Expression Searching"
  76.     "Relational Operators"
  77.     "Reserved Words"
  78.     "Search and Replace"
  79.     "Spaces"
  80.     "String Functions"
  81.     "String Operators"
  82.     "Strings"
  83.     "Syntax Highlighting"
  84.     "Syntax"
  85.     "System Functions"
  86.     "Timers"
  87.     "True and False"
  88.     "Undo and Redo"
  89.     "User Defined Events"
  90.     "Variable Declarations"
  91.     "Variables"
  92.     "Video Functions"
  93.     "Windows"
  94.   end
  95.  
  96.   // name the buffer so the menu position can be remembered
  97.   setbufname "helplang"
  98.  
  99.   // display the buffer in a popup menu and get the topic selected
  100.   topic = popup (getcurrbuf) "Language Reference Topics" 35
  101.  
  102.   // destroy the help topics buffer
  103.   destroybuf
  104.  
  105.   // display the selected topic
  106.   if topic then
  107.     open (getbootpath + "DOC\\" +
  108.             (if? topic [1:3] == "Reg" "REGEXP" "LANGUAGE") + ".DOX")
  109.     gotopos 1 1
  110.     if find topic + '' then
  111.       send "onfound" (sizeof topic)
  112.     end
  113.   end
  114.  
  115.